<!doctype html>
<html class="no-js fixed-layout">
    <style>
	body{font-size:24px;}
    .listBg{ background:#f1f1f1;}
    </style>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，后台 暂不支持。 请 <a href="http://browsehappy.com/"
                                                                  target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->

<div class="am-cf admin-main">

    <!-- content start -->
    <div class="admin-content">

        <div class="admin-content-body" id="pjaxContent">
            <div class="am-g">

<h1 style="text-align:center;">充值返利信息汇总</h1>

                <% if(typeof data != "undefined" && data.length > 0){ %>
                <div class="am-u-sm-12">
                    
                    
                    <table class="am-table am-table-bd am-table-striped admin-content-table center" border="1"
                           style="width:100%;margin-left:auto;margin-right:auto;border-collapse:collapse;overflow:scroll"
                           id="dataTable" cellpadding="4" cellspacing="4">
                        <thead>
                        <tr>
                            <%
                                var array = data;
                                var index = -1;
                                for (var attr in array[0]) {
                                    index++;
                                    if(rowInfo[index] == null)
                                        continue;
                            %>
                            <th><%= rowInfo[index].name %></th>
                            <%
                            }
                            %>

                        </tr>
                        </thead>
                        <tbody>
                        <%
                        var u=0;
                        for (var attr in array) {
                            u++;
                        %>
                        <% if(u%2==0) {%>
                        <tr class="list">
                        <%}else{%>
                        <tr class="listBg">
                        <%}%>
                            <%
                                var info = array[attr];
                                var index = -1;
                                for (var key in info) {
                                    index++;
                                    if(rowInfo[index] == null)
                                        continue;
                                    
                            %>
                           
                                <td><%- info[key]%></td>
                               
                                <%
                            }
                            %>
                           
                        </tr>
                        
                        <%
                    }
                    %>
                        </tbody>
                    </table>
                    <br/>
                </div>
                <%
                        }
                        else{
                        %>
                        <div style="text-align: center;">暂无数据</div>
                        <%}%>
                

            </div>


        </div>

    </div>
    <!-- content end -->

</div>


</body>
</html>
